.bg-color {
  background-color: #f7f9fb;
  padding-top: 50px;
  .select-box {
    margin-bottom: 60px;
    .box-line {
      padding-bottom: 15px;
      .text {
        display: inline-block;
        width: 100px;
        font-weight: bold;
      }
      .active {
        background-color: $color-primary;
        color: #fff;
      }
      .con {
        display: inline-block;
        width: 1022px;
        border-bottom: 1px solid #d7d7d7;
        padding-bottom: 15px;
      }
      .noborder {
        border-bottom: none;
        padding-bottom: 0px;
      }
    }
    .nopadding {
      padding-bottom: 0px;
    }
  }

  .top-bg {
    background-color: $color-primary;
    height: 440px;
    .breadcrumb {
      height: 60px;
      line-height: 60px;
      font-size: 16px;
      span {
        color: #fff;
      }
    }

    .course-d-con {
      .d-img {
        float: left;
        img {
          width: 427px;
          height: 308px;
          overflow: hidden;
          margin-right: 37px;
          border-radius: 5px;
        }
      }
      .d-info {
        float: left;
        width: 657px;
        h3 {
          height: 57px;
          line-height: 57px;
          font-size: 24px;
          font-weight: bold;
          color: $color-primary;
          border-bottom: 1px solid #d7d7d7;
          margin-bottom: 5px;
        }
        li {
          height: 45px;
          line-height: 45px;
          font-weight: bold;
          color: #161c2d;
          font-size: 16px;
        }
        li.diff {
          span {
            float: left;
          }
          .el-rate {
            height: 45px;
            line-height: 45px;
          }
        }
        li.num {
          color: #999;
          font-size: 14px;
          span {
            margin-right: 25px;
          }
        }
        .time {
          height: 70px;
          background-color: #eaeffd;
          line-height: 70px;
          font-size: 16px;
          color: #161c2d;
          text-align: center;
          font-weight: bold;
          a {
            display: block;
            background-color: $color-primary;
            color: #fff;
            height: 40px;
            line-height: 40px;
            padding: 0 15px;
            float: right;
            border-radius: 5px;
            margin: 15px 35px 0 0;
            cursor: pointer;
          }
        }
      }
    }
  }

  .tabs {
    box-shadow: 0 2px 12px 0 rgba(27, 27, 98, 0.1);
  }

  .detail-con {
    padding: 45px 0px;
    p {
      text-indent: 32px;
      font-size: 16px;
      margin-bottom: 45px;
      img {
        display: block;
        width: 100%;
      }
    }
  }
  .list-con {
    margin-bottom: 50px;
    h3 {
      height: 50px;
      line-height: 50px;
      font-size: 16px;
      border-bottom: 1px solid #d7d7d7;
      font-weight: normal;
      margin-bottom: 5px;
      span {
        display: block;
        float: left;
        margin-right: 10px;
      }
      span.num {
        width: 45px;
        height: 26px;
        line-height: 26px;
        background-color: #eaeffd;
        text-align: center;
        margin-top: 12px;
      }
      span.title {
        color: #3e59c0;
      }
      span.des {
        font-size: 14px;
        color: #666;
      }
    }
    li {
      height: 53px;
      line-height: 53px;
      font-size: 16px;
      i {
        display: inline-block;
        margin-left: 100px;
        margin-right: 15px;
      }
      a.button {
        display: block;
        float: right;
        margin-top: 11px;
        margin-right: 32px;
        background-color: $color-primary;
        color: #fff;
        width: 85px;
        height: 30px;
        display: none;
        line-height: 30px;
        text-align: center;
        border-radius: 5px;
        font-size: 14px;
      }
    }
    li:hover {
      background-color: #eaeffd;
      cursor: pointer;
      a.button {
        display: block;
      }
    }
  }
}

.bg-color-video {
  background-color: #f7f9fb;
  padding-bottom: 90px;
  .video-nav {
    height: 90px;
    line-height: 90px;
    background-color: #fff;
    box-shadow: 0 2px 8px 0 rgb(27 27 98 / 10%);
  }
}

.video-main {
  margin-top: 90px;
  .video-drawer {
    position: absolute;
    width: 300px;
    height: 100%;
    right: 0;
    top: 1px;
    background-color: #fff;
    z-index: 100;
    transform: translate(100%, 0);
    transition: transform 0.5s;
    &.show {
      transform: translate(0, 0);
    }
    .drawer-button {
      position: absolute;
      width: 20px;
      height: 70px;
      border-radius: 10px 0 0 10px;
      background-color: $color-primary;
      top: 50%;
      margin-top: -35px;
      left: -20px;
      line-height: 70px;
      text-align: center;
      color: #fff;
      cursor: pointer;
      z-index: 1000;
    }
    .drawer-list {
      overflow-y: auto;
      height: 100%;
      h4 {
        height: 57px;
        text-indent: 30px;
        font-size: 16px;
        line-height: 57px;
      }
      li {
        height: 55px;
        line-height: 55px;
        text-indent: 50px;
        a {
          font-weight: normal;
          color: #161c2d;
        }
      }
      li:hover {
        background-color: $bg-color-purle;
        color: $color-primary;
        cursor: pointer;
      }
    }
    /*控制整个滚动条*/
    ::-webkit-scrollbar {
      background-color: #f4f4f4;
      width: 5px;
      height: 5px;
      background-clip: padding-box;
    }

    /*滚动条两端方向按钮*/
    ::-webkit-scrollbar-button {
      // background-color: pink;
    }

    /*滚动条中间滑动部分*/
    ::-webkit-scrollbar-thumb {
      background-color: #ccc;
      border-radius: 5px;
    }

    /*滚动条右下角区域*/
    ::-webkit-scrollbar-corner {
      background-color: $bg-color-purle;
    }
  }
}
